<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta http-equiv="Cache-Control" content="no-transform"/>
<meta name="applicable-device" content="pc">
<meta name="MobileOptimized" content="width"/>
<meta name="HandheldFriendly" content="true"/>
<title>{content:title}-{pboot:sitetitle}</title>
<meta name="keywords" content="{content:keywords}">
<meta name="description" content="{content:description}">
<link rel="stylesheet" href="{pboot:sitedomain}/skin/css/cui.css" />
<link rel="stylesheet" href="{pboot:sitedomain}/skin/css/lib.css" />
<link rel="stylesheet" href="{pboot:sitedomain}/skin/css/less.css" />
<link href="{pboot:sitedomain}/skin/css/bootstrap.css" rel="stylesheet">
<link href="{pboot:sitedomain}/skin/css/style.css" rel="stylesheet">
<script src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
<script src="{pboot:sitedomain}/skin/js/common.js"></script>
<script src="{pboot:sitedomain}/skin/js/bootstrap.js"></script>
</head>
<body>
{include file=head.html} 
<!-- 头部-end -->
<div class="ban">{pboot:sort scode={sort:tcode}}<img src="[sort:pic]" width="100%">{/pboot:sort}</div>
<div class="main">
  <div class="g-cur">
    <div class="wp">{pboot:position separator=>>} </div>
  </div>
  <div class="row-b1">
    <div class="wp">
      {include file=left.html}
      <!-- 产品展示 -->
      <div class="col-r">
        <div class="m-list1">
          <div class="m-pic1">
            <div class="yunu-showcase clearfix">
              <div class="pc-slide">
                <div class="view">
                  <div class="swiper-container swiper-container-horizontal">
                    <div class="swiper-wrapper"> 
                      {pboot:pics id={content:id} num=10}
                      <div class="swiper-slide img-center">
                        <div class="imgauto"> <img src="[pics:src]" rel="[pics:src]" class="jqzoom" /> </div>
                      </div>
                      {/pboot:pics}
                      </div>
                  </div>
                </div>
                <div class="preview"> <a class="arrow-left" href="javascript:;"></a> <a class="arrow-right" href="javascript:;"></a>
                  <div class="swiper-container swiper-container-horizontal">
                    <div class="swiper-wrapper">
                      {pboot:pics id={content:id} num=10}
                      <div class="swiper-slide">
                        <div class="imgauto"> <img src="[pics:src]" /></div>
                      </div>
                      {/pboot:pics}
                      </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="m-txt1">
            <div class="protit">{content:title}</div>
            <div class="txt">
              <p>类别：{sort:name}</p>
              <p>浏览：{content:visits}</p>
              <p> {content:description lencn=100}</p>
            </div>
            {pboot:sort scode=15}<a href="[sort:link]" class="btn-m"><span>联系我们</span></a>{/pboot:sort} </div>
        </div>
        <div class="m-txt2" id="maximg"> {content:content} </div>
        <ul class="ul-pages1">
          <li>上一篇：{content:precontent} </li>
          <li>下一篇：{content:nextcontent} </li>
        </ul>
        <div class="g-titIns1">相关产品</div>
        <ul class="ul-imgtxt-01 ul-imgtxt2">
          {pboot:list scode={sort:scode} num=6}
          <li> <a href="[list:link]" title="[list:title]">
            <div class="pic"> <img src="[list:ico]" alt="[list:title]"> </div>
            <p>[list:title]</p>
            </a> </li>
          {/pboot:list}
        </ul>
      </div>
      <!-- 产品展示-end --> 
    </div>
  </div>
</div>
{include file=foot.html} 
<script src="{pboot:sitedomain}/skin/js/superslide.js"></script> 
<script src="{pboot:sitedomain}/skin/js/jquery.imagezoom.min.js"></script> 
<script type="text/javascript">
 $(".jqzoom").imagezoom();

 var $zoom = $('.jqzoom');
 $('.yunu-showcase-pic').slide({
  titCell: '.hd ul',
  mainCell: '.bd ul',
  autoPage: true,
  effect: 'left',
  vis: 3
 }).on('mouseenter', '.bd li', function () {
  var src = $(this).find('img').attr('src');
  $zoom.attr('src', src);
  $zoom.attr('rel', src);
  $(this).addClass('active').siblings().removeClass('active');
 }).find('li').eq(0).addClass('active');
 </script> 
<!-- 放大镜END --> 
<script src="{pboot:sitedomain}/skin/js/swiper.min.js"></script>
<link rel="stylesheet" href="{pboot:sitedomain}/skin/css/swiper.min.css" />
<script>

 $('.preview .swiper-slide').eq(0).addClass('active-nav');
 var viewSwiper = new Swiper('.view .swiper-container', {
  onSlideChangeStart: function() {
   updateNavPosition()
  }
 })

 $('.view .arrow-left,.preview .arrow-left').on('click', function(e) {
  e.preventDefault()
  if (viewSwiper.activeIndex == 0) {
  viewSwiper.slideTo(viewSwiper.slides.length - 1, 1000);
  return
  }
  viewSwiper.slidePrev()
 })
 $('.view .arrow-right,.preview .arrow-right').on('click', function(e) {
  e.preventDefault()
  if (viewSwiper.activeIndex == viewSwiper.slides.length - 1) {
  viewSwiper.slideTo(0, 1000);
  return
  }
  viewSwiper.slideNext()
 })

 var previewSwiper = new Swiper('.preview .swiper-container', {
  //visibilityFullFit: true,
  slidesPerView: 'auto',
  allowTouchMove: false,
  onTap: function() {
   viewSwiper.slideTo(previewSwiper.clickedIndex)
  }
 })

 function updateNavPosition() {
  $('.preview .active-nav').removeClass('active-nav')
  var activeNav = $('.preview .swiper-slide').eq(viewSwiper.activeIndex).addClass('active-nav')
  if (!activeNav.hasClass('swiper-slide-visible')) {
   if (activeNav.index() > previewSwiper.activeIndex) {
   var thumbsPerNav = Math.floor(previewSwiper.width / activeNav.width()) - 1
   previewSwiper.slideTo(activeNav.index() - thumbsPerNav)
   } else {
   previewSwiper.slideTo(activeNav.index())
   }
  }
  }
 </script>
</body>
</html>